@import "lib-mixins";
@import "lib-rem";
@import "lib-reset";

@import "com-header";
@import "com-left-menu";

html,body{
  height: 100%;
}
.inner-box{
  width: 98%;
  margin: 0 auto;
  background: #fff;
}
.tab-list{
  overflow: hidden;
  position: relative;
  top: -20px;
  border-top:1px solid #77BAF4;
  background: #4583EF;
  text-align: center;
  box-shadow: 0 1px 4px #383535;
  .tab-item{
    display: inline-block;
    color: #fff;
    font-size: 15px;
    text-align: center;
    margin: 0 32px 0 0;
    padding: 14px 0;
  }
  .tab-item.active{
    border-bottom: 4px solid #fff;
    padding: 14px 0 10px;
  }
}
.form-outer{
  position: relative;
  padding: 10px 10px 0;
  max-width: 1055px;
  margin: 0 auto;
}
.form-box{
  overflow-x: hidden;
  overflow-y: auto;
}
.fixed-bar{
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
  .title{
    float: left;
    font-size: 14px;
    margin: 18px 0 0 0;
    color: #444;
    strong{
      color:#bbb;
      font-weight: normal;
    }
    .form-link{
      color: #0fb2fc;
    }
    .form-title{
      color: #999;
    }
  }
  .btn-group{
    float: right;
    i{
      vertical-align: text-top;
      color: #409EEF;
    }
    .operate-btn{
      float: right;
      margin: auto 0 auto 15px
    }
  }
}
.form-form{
  .form-step{
    float: left;
    width: 100%;
    &.two{
      margin-bottom: 50px;
    }
    .empty-tips{
      text-align: center;
      font-size: 18px;
      color: #888;
      margin: 40px 0 0;
    }
  }
  .form-title{
    margin: 30px 0 20px;
    color: #444;
    font-size: 14px;
    position: relative;
    font-weight: bold;
    &:after{
      content: '';
      position: absolute;
      width: 100%;
      border-bottom:1px dashed #ccc;
      top:7px;
      margin-left:6px;
    }
  }
  .form-group{
    float: left;
    width: 100%;
    margin: 0 10px;
    padding: 0;
    label{
      text-align: right;
      margin-top: 13px;
      color: #444;
    }
    .form-control{
      font-size: 13px;
    }
  }
  .input-tips{
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 3;
  }
  .description-textarea{
    padding-left: 0 !important;
    padding-right: 0 !important;
    textarea{
      height: 352px;
      width: 96%;
    }
  }
  .table{
    width: 100%;
    th{
      padding:15px 20px !important;
      text-align: left !important;
    }
    td{
      padding: 10px 20px !important;
      vertical-align: middle !important;
      border-color:#f0f0f0 !important;
      width: 255px !important;
      a>i{
        color: #409EEF;
        margin: 0 5px;
        font-size: 25px;
      }
      .delete-icon{
        background-image: url('../slice/icon_delete_normal.png');
        background-repeat: no-repeat;
        vertical-align: middle;
        margin-top:1px;
        &:hover{
          background-image: url('../slice/icon_delete_hover.png');
        }
      }
    }
    thead{
      background: #6398D7;
      color:#fff;
      th{
        font-weight: normal;
        border:none !important;
        font-size: 15px;
      }
    }
    tbody{
      & > tr:hover {
        background-color: #F3F9FD;
      }
      td .material-icons{
        color: #5FAEF2;
        margin: 0 20px 0 0;
        vertical-align: middle;
        &:hover{
          color: #8CCDEA;
        }
      }
      td .move-icon{
        cursor: move;
      }
    }
  }
}
.operate-cover{
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  position: fixed;
  z-index: 12;
  top:0;
  left:0;
  display: none;
}
.operate-box{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 13;
  .main-btn{
    color:#fff;
    background-color:#DB4437 ;
    width: 60px;
    height: 60px;
    text-align: center;
    display: block;
    line-height: 60px;
    border-radius: 50%;
    box-shadow: 2px 0 10px #939393,0 2px 10px #939393;
    z-index: 14;
    position: relative;
  }
  .alert-btn{
    width: 40px;
    height: 40px;
    background-color: #000;
    color:#fff;
    border-radius: 50%;
    position: absolute;
    top:0;
    left:0;
    text-align: center;
    line-height: 40px;
    z-index: 13;
    opacity: 0;
    transition: all .2s ease;
  }
}
.operate-box.active{
  .alert-btn{
    opacity: 1;
  }
  .a1{
    transform: translate(-10px, -60px) rotate(360deg);
  }
  .a2{
    transform: translate(-60px, -10px) rotate(360deg);
  }
}

.modal-input
{
  .close{
    color: #fff;
    opacity: 1;
    font-size: 22px;
    margin-top: -5px;
    padding: 7px 10px;
    margin-right: -15px;
  }
  .modal-header{
    background-color: #3F9EEE;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .modal-body{
    max-height: 500px;
    padding: 15px 15px;
    overflow: auto;
  }
  .form-group>label{
    padding: 0px;
    width: 84px;
    color: #444444;
  }
  .text-describe{
    font-size: 12px;
    position: relative;
    line-height: 50px;
    width: 50%;
    padding: 0px;
  }
  .md-input{
    width: 33%;
    input{
      margin-top: 2px;
      font-size: 12px;
    }
  }
  .row{
    width: 100%;
    margin-top: 0px;
  }
  .form-control{
    font-size: 14px;
  }
  .control-label{
    font-size: 14px;
  }
  .delete-node{
    font-size: 12px;
    color: #2196F3;
    cursor: pointer;
    margin-left: 60px;
  }
  .add-option{
    font-size: 12px;
    color: #2196F3;
    cursor: pointer;
    margin-left: 20px;
  }

}
#inputValue .togglebutton label .toggle{
  width: 24px;
  height: 11px;
}
#inputValue .togglebutton label .toggle:after{
  width: 15px;
  height: 15px;
}

#addInput .radio label, label{
  font-size: 14px;
  color: #444444;
}
#addInput{
  .radio-primary{
    margin: 8px 0;
    cursor: pointer;
  }
  .first-td{
    width: 100%;
  }
  .inputTextTwo {
    font-size: 14px;
    color: darkgray;
    font-weight: 400;
    position: relative;
    padding: 6px 10px 0 0;
  }
  .inputTextTwo:hover{
    cursor: pointer;
    color: #F2BE6D;
  }
  tr:hover{
    background-color: #DEF2FF;
    cursor: pointer;
  }
}

#inputValue{
  .togglebutton{
    padding-top: 9px;
    font-size: 12px;
  }
  .togglebutton label .toggle:after{
    top: -3px;
  }
  .max-min{
    display: none;
  }
}

.ke-menu[unselectable]{
  display: none !important;
}